package com.ujs.shc.pojo;

public class OrdersExt {

    private Integer userId;

//    private Integer goodsId;

    private Long orderNum;

    private Float orderPrice;

    private Integer orderState; //订单状态 1待发货 2待收货 3已完成

    private String orderInformation;

    private String goodsName;

    public OrdersExt(){}

    public OrdersExt(Orders orders){

        this.userId = orders.getUserId();
//        this.goodsId = orders.getGoodsId();
        this.orderNum = orders.getOrderNum();
        this.orderPrice = orders.getOrderPrice();
        this.orderState = orders.getOrderState();
        this.orderInformation = orders.getOrderInformation()==null?"":orders.getOrderInformation();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

//    public Integer getGoodsId() {
//        return goodsId;
//    }
//
//    public void setGoodsId(Integer goodsId) {
//        this.goodsId = goodsId;
//    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Float getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Float orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public String getOrderInformation() {
        return orderInformation;
    }

    public void setOrderInformation(String orderInformation) {
        this.orderInformation = orderInformation;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
}
